export default axios => {
    const token = localStorage.getItem('token') || sessionStorage.token
    if (token) {
        axios.headers.token = token
    }
    return axios
}
